__author__ = 'Administrator'

from array import array

a = array('H', [4000, 10, 700, 22222])

print(sum(a))

print(a[1:3])

from collections import deque

d = deque(["task1", "task2", "task3"])
d.append("task4")
print("Handling", d.popleft())
